package cn.toolck.springmvc.spring.bean;

import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName BeanDefinition
 * @Description 定义bean的存储信息
 * @Author Toolck Rin
 * @Date 2021/2/24 15:46
 * @Version 1.0
 **/
public class BeanDefinition {
    private String beanName;
    private Class classType;
    private String beanType;
    private List<Field> dependencies = new ArrayList<>();

    public List<Field> getDependencies() {
        return dependencies;
    }

    public void setDependencies(List<Field> dependencies) {
        this.dependencies = dependencies;
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public Class getClassType() {
        return classType;
    }

    public void setClassType(Class classType) {
        this.classType = classType;
    }

    public String getBeanType() {
        return beanType;
    }

    public void setBeanType(String beanType) {
        this.beanType = beanType;
    }
}
